package com.config.demo.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class TestProperties {

    @Value("${proper.title}")
    private String title;
    @Value("${proper.name}")
    private String name;
    @Value("${proper.content}")
    private String content;

    @Value("${randomme.value}")
    private String randomStr;
    @Value("${randomme.number}")
    private Integer number;
    @Value("${randomme.bignumber}")
    private Long bignumber;
    @Value("${randomme.test1}")
    private Integer test1;
    @Value("${randomme.test2}")
    private Integer test2;

}
